package com.thermofisher.dsc.amanda.model.po.company;

import com.thermofisher.dsc.amanda.model.BaseModel;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by wenjie.yang on 1/4/2019.
 */
@Getter
@Setter
@Table(name = "stock_history")
public class StockHistory extends BaseModel{

  @Column(name = "company_id")
  private Long  companyId;

  @Column(name = "opening_price")
  private Float openingPrice;

  @Column(name = "volume")
  private Double volume;

  @Column(name = "stock_amplitude")
  private Float stockAmplitude;

  @Column(name = "high_price")
  private Float highPrice;

  @Column(name = "turn_volume")
  private Double turnVolume;

  @Column(name = "turnover_rate")
  private Float turnoverRate;

  @Column(name = "low_price")
  private Float lowPrice;

  @Column(name = "pre_close")
  private Float preClose;

  @Column(name = "limit_up")
  private Float limitUp;

  @Column(name = "limit_down")
  private Float limitDown;

  @Column(name = "current_price")
  private Float currentPrice;

  @Column(name = "domain_name")
  private Float domainName;

  @Column(name = "trade_date")
  private Date tradeDate;

}
